# -*- coding = utf-8 -*-
# @Time : 2021/4/30 20:28
# @Author : 龙王赘婿_彪少
# @File : demo03.py
# @Software: PyCharm

tup1 = () #创建空元组

tup2 = (50,)
#tup2 = (50)

print(type(tup1))
print(type(tup2))

tup3 = ("abc",0,132,"def")
print(tup3)
print(tup3[1])
print(tup3[-1]) #访问最后一个元素

#增
tup4 = tup2 + tup3
print(tup4)

#删
del tup2 #删除变量
